﻿Imports WeifenLuo.WinFormsUI.Docking

Public Class FileViewDock
    Inherits BaseDock

    Public Property FileView As FileView

    Public Sub New()
        FileView = New FileView()
        FileView.Dock = DockStyle.Fill

        Text = "Project Explorer"

        DockHandler.HideOnClose = True

        ' Disallow dock in center
        DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft Or
            WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight Or
            WeifenLuo.WinFormsUI.Docking.DockAreas.Float


        ' Default to left
        'DockState = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft

        Controls.Add(FileView)
    End Sub

End Class
